<template>
	<div id="nav-bar" class="nav-bar">
		<div class="left">
			<slot name="left"></slot>
		</div>
		<div class="center">
			<slot name="center"></slot>
		</div>
		<div class="right">
			<slot name="right"></slot>
		</div>
	</div>
</template>

<script>
	export default{
		name:"NavBar",
	}
</script>

<style>
	.nav-bar{
		display: flex;
		height: 50px;
		width: 100%;/* 
		background-color: #444; */
		align-text: center;
		 /* background-color: #fff; */
		padding:0 50px;
		/*justify-content: center;
		align-items: center;*/
	}
	.left{
		width:120px;
	}
	.right{
		width: 280px;
	}
	.center{
		flex: 1;
		text-align: center;
		line-height: 44px;
		font-size: 14px;
		font-weight: bold;
	}
</style>
